/*
 * mpxhelloworld
 *2023happiness
 *work hard 2023
 */
package com.mpx.lawyermanager.dongao.mapper;

import com.mpx.lawyermanager.dongao.entity.Lawyer;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author mengpeixuan
 * @version 1.0
 * 对律师档案的操作：注册档案、删除.. 查询.. 修改..
 */
@Mapper
public interface LawyerMapper {
    /**
     * 添加律师（创建律师档案）
     * @param lawyer 包含律师信息的对象
     * @return 创建成功返回1，否则返回0
     */
    public int insertLawyer(Lawyer lawyer);
}
